package com.module.admin.rest.pojo;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.system.comm.model.BaseEntity;
import com.system.deserialize.JsonDateYMdDeserialize;

/**
 * rest_stat_day实体
 * @author yuejing
 * @date 2016-12-26 08:46:40
 * @version V1.0.0
 */
@Alias("restStatDay")
@SuppressWarnings("serial")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class RestStatDay extends BaseEntity implements Serializable {
	//编号
	private String rsdId;
	//服务编号
	private Integer rsId;
	//项目接口编号
	private Integer riId;
	//日期
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date statDate;
	//新增时间
	private Date createTime;
	//访问次数
	private Integer visitNum;
	//1点访问次数
	private Integer hour1;
	//2点访问次数
	private Integer hour2;
	//3点访问次数
	private Integer hour3;
	//4点访问次数
	private Integer hour4;
	//5点访问次数
	private Integer hour5;
	//6点访问次数
	private Integer hour6;
	//7点访问次数
	private Integer hour7;
	//8点访问次数
	private Integer hour8;
	//9点访问次数
	private Integer hour9;
	//10点访问次数
	private Integer hour10;
	//11点访问次数
	private Integer hour11;
	//12点访问次数
	private Integer hour12;
	//13点访问次数
	private Integer hour13;
	//14点访问次数
	private Integer hour14;
	//15点访问次数
	private Integer hour15;
	//16点访问次数
	private Integer hour16;
	//17点访问次数
	private Integer hour17;
	//18点访问次数
	private Integer hour18;
	//19点访问次数
	private Integer hour19;
	//20点访问次数
	private Integer hour20;
	//21点访问次数
	private Integer hour21;
	//22点访问次数
	private Integer hour22;
	//23点访问次数
	private Integer hour23;
	//0点访问次数
	private Integer hour0;

	//============================ 扩展属性
	//服务地址
	private String serverAddress;
	//接口地址
	private String url;
	
	public String getRsdId() {
		return rsdId;
	}
	public void setRsdId(String rsdId) {
		this.rsdId = rsdId;
	}
	
	public Integer getRsId() {
		return rsId;
	}
	public void setRsId(Integer rsId) {
		this.rsId = rsId;
	}
	
	public Integer getRiId() {
		return riId;
	}
	public void setRiId(Integer riId) {
		this.riId = riId;
	}
	
	public Date getStatDate() {
		return statDate;
	}
	@JsonDeserialize(using = JsonDateYMdDeserialize.class)
	public void setStatDate(Date statDate) {
		this.statDate = statDate;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Integer getVisitNum() {
		return visitNum;
	}
	public void setVisitNum(Integer visitNum) {
		this.visitNum = visitNum;
	}
	
	public Integer getHour1() {
		return hour1;
	}
	public void setHour1(Integer hour1) {
		this.hour1 = hour1;
	}
	
	public Integer getHour2() {
		return hour2;
	}
	public void setHour2(Integer hour2) {
		this.hour2 = hour2;
	}
	
	public Integer getHour3() {
		return hour3;
	}
	public void setHour3(Integer hour3) {
		this.hour3 = hour3;
	}
	
	public Integer getHour4() {
		return hour4;
	}
	public void setHour4(Integer hour4) {
		this.hour4 = hour4;
	}
	
	public Integer getHour5() {
		return hour5;
	}
	public void setHour5(Integer hour5) {
		this.hour5 = hour5;
	}
	
	public Integer getHour6() {
		return hour6;
	}
	public void setHour6(Integer hour6) {
		this.hour6 = hour6;
	}
	
	public Integer getHour7() {
		return hour7;
	}
	public void setHour7(Integer hour7) {
		this.hour7 = hour7;
	}
	
	public Integer getHour8() {
		return hour8;
	}
	public void setHour8(Integer hour8) {
		this.hour8 = hour8;
	}
	
	public Integer getHour9() {
		return hour9;
	}
	public void setHour9(Integer hour9) {
		this.hour9 = hour9;
	}
	
	public Integer getHour10() {
		return hour10;
	}
	public void setHour10(Integer hour10) {
		this.hour10 = hour10;
	}
	
	public Integer getHour11() {
		return hour11;
	}
	public void setHour11(Integer hour11) {
		this.hour11 = hour11;
	}
	
	public Integer getHour12() {
		return hour12;
	}
	public void setHour12(Integer hour12) {
		this.hour12 = hour12;
	}
	
	public Integer getHour13() {
		return hour13;
	}
	public void setHour13(Integer hour13) {
		this.hour13 = hour13;
	}
	
	public Integer getHour14() {
		return hour14;
	}
	public void setHour14(Integer hour14) {
		this.hour14 = hour14;
	}
	
	public Integer getHour15() {
		return hour15;
	}
	public void setHour15(Integer hour15) {
		this.hour15 = hour15;
	}
	
	public Integer getHour16() {
		return hour16;
	}
	public void setHour16(Integer hour16) {
		this.hour16 = hour16;
	}
	
	public Integer getHour17() {
		return hour17;
	}
	public void setHour17(Integer hour17) {
		this.hour17 = hour17;
	}
	
	public Integer getHour18() {
		return hour18;
	}
	public void setHour18(Integer hour18) {
		this.hour18 = hour18;
	}
	
	public Integer getHour19() {
		return hour19;
	}
	public void setHour19(Integer hour19) {
		this.hour19 = hour19;
	}
	
	public Integer getHour20() {
		return hour20;
	}
	public void setHour20(Integer hour20) {
		this.hour20 = hour20;
	}
	
	public Integer getHour21() {
		return hour21;
	}
	public void setHour21(Integer hour21) {
		this.hour21 = hour21;
	}
	
	public Integer getHour22() {
		return hour22;
	}
	public void setHour22(Integer hour22) {
		this.hour22 = hour22;
	}
	
	public Integer getHour23() {
		return hour23;
	}
	public void setHour23(Integer hour23) {
		this.hour23 = hour23;
	}
	
	public Integer getHour0() {
		return hour0;
	}
	public void setHour0(Integer hour0) {
		this.hour0 = hour0;
	}
	public String getServerAddress() {
		return serverAddress;
	}
	public void setServerAddress(String serverAddress) {
		this.serverAddress = serverAddress;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}